package com.lagou.edu.lagouservicecode.service;

import com.lagou.edu.CodeService;
import org.apache.dubbo.config.annotation.Service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Service
public class CodeServiceImpl implements CodeService {

    Logger logger = LoggerFactory.getLogger(CodeServiceImpl.class);

    @Override
    public Integer createCodeAndSendEmail() {
        logger.info("createCodeAndSendEmail start!");
        return 1001;
    }

    @Override
    public String inputCodeIsValid(String email, String code) {
        return null;
    }
}
